package org.kaifamiao.currentlimiting;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ShowController {

    @GetMapping("/limited")
    public String limitedEndpoint() {
        return "You have accessed the limited endpoint successfully!";
    }

    @GetMapping("/unlimited")
    public String unlimitedEndpoint() {
        return "You have accessed the unlimited endpoint successfully!";
    }
}
